package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.ComBaseEntity;


/**
 * 地区管理对象 com_area
 *
 * @author tianl
 * @date 2024-12-19
 */
@TableName("com_area")
public class ComArea extends ComBaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 父id
     */
    private Long pid;

    /**
     * 简称
     */
    @Excel(name = "简称" )
    private String shortname;

    /**
     * 名称
     */
    @Excel(name = "名称" )
    private String name;

    /**
     * 全称
     */
    @Excel(name = "全称" )
    private String mergename;

    /**
     * 层级 0 1 2 省市区县
     */
    private Long level;

    /**
     * 拼音
     */
    @Excel(name = "拼音" )
    private String pinyin;

    /**
     * 长途区号
     */
    @Excel(name = "长途区号" )
    private String code;

    /**
     * 邮编
     */
    @Excel(name = "邮编" )
    private String zip;

    /**
     * 首字母
     */
    private String first;

    /**
     * 经度
     */
    private String lng;

    /**
     * 纬度
     */
    private String lat;


    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getShortname() {
        return shortname;
    }

    public void setShortname(String shortname) {
        this.shortname = shortname;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMergename() {
        return mergename;
    }

    public void setMergename(String mergename) {
        this.mergename = mergename;
    }

    public Long getLevel() {
        return level;
    }

    public void setLevel(Long level) {
        this.level = level;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getFirst() {
        return first;
    }

    public void setFirst(String first) {
        this.first = first;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }
}
